package zlx;
import redis.clients.jedis.Jedis;
public class RedisConnect
{
    public static void main(String[] args) {
        Jedis jedis =new Jedis("127.0.0.1",6379);
        jedis.set("zlx", String.valueOf(0));
        System.out.println(jedis.get("zlx"));
    }
}
